Finally added Edit capabilities to the note function