Cleaned up the code for adding a new note. This is now handled in a new AddNoteOnClickListener class.