menu item and tool bar are synchronized