finished layout new note activity
Added event handler for saving and discarding notes