Fix bug in onActivityResult - NoteActivity