In NoteItem add constants KEY and TEXT. In other classes use new constants.