String newNotes = fNotesInput.getText();
boolean save = false;
if (!StringUtils.isSet(newNotes) && StringUtils.isSet(oldNotes)) {
entity.removeProperty(NOTES_PREF_ID);
save = true;
} else if (!newNotes.equals(oldNotes)) {
entity.setProperty(NOTES_PREF_ID, newNotes);
save = true;
}