noteaddin: Fix newly enabled addin not working for opened notes
If you have a noted opened and then enable an addin(for example exporttohtml), clicking "Export to HTML" for the opened note doesn't work. This MR fixes it.
If you have a noted opened and then enable an addin(for example exporttohtml), clicking "Export to HTML" for the opened note doesn't work. This MR fixes it.