@Override
 public void updateViewingNote(Object sender, String title, String content) {
   Note note = getModel().getViewingNote();
   if (note != null) {
     note.setTitle(title);
     note.setContent(content);
     note.setUpdateTime(System.currentTimeMillis());
     persistNotes();
     postC2VEvent(new EventC2V.OnNoteUpdated(sender));
   }
 }
  @Override
  public void addNote(String title, String content) {
    if (title != null && !title.isEmpty()) {
      Note note = new Note();
      notes().add(note);
      note.setId(System.currentTimeMillis());
      note.setTitle(title);
      note.setContent(content);
      note.setUpdateTime(System.currentTimeMillis());

      persistNotes();
      postC2VEvent(new EventC2V.OnNoteCreated(this));
    }
    navigationController.navigateBack(this);
  }