Refactoring notes view. Tightened up notesView class