Added edit dialog in NoteActivity.