Added some kind of functionality to edit note button. At the moment it
just creates a new note. Can someone get it to edit the existing note
instead?