menu and toolbar config