public void propertyChange(PropertyChangeEvent evt) {
String closedDate = (String) presentationModel
.getBufferedValue(DeviationModel.PROPERTY_DATE_CLOSED_STRING);
if (closedDate == null) {
DeviationStatus status = (DeviationStatus) presentationModel
.getBufferedValue(DeviationModel.PROPERTY_DEVIATION_STATUS);
if (Util.convertNumberToBoolean(status != null ? status
.getDeviationDone() : null)) {
presentationModel.setBufferedValue(
DeviationModel.PROPERTY_DATE_CLOSED_STRING, Util
.getCurrentDateAsDateString());
}