finished developing listener stuff in NotesManager, needs to be tested.