[SideBarManager] Fixed ambiguous shortcuts when calling refreshMenu()

-also fixed compile issue after 621ab569