[MENUBAR] Support ui state (hiding accelerator mnark).