Modified NoteFragment.java and BlocNotes.java