Hot fix for note being able to create notes in Firefox
Refactored hot fix for Firefox, Ticket0678
Ticket0684: Wait until new activeTrunk is set before adding new note
Merge branch 'Ticket0684'