Fixed addNote directive to automatically set textarea focus to new note and set the new scope in headerMenu service