Remove conditional menu-bar fuction