implement enable/disable menu items and menu buttons on menubar