clear menu and toolbar