NoteAdapter update/delete fix