Refactor bar
Refactor PluginNoteBar
Refactor PluginNoteBar. Take 2