Applied some code inspector suggestions to NotesAdapter.