updated menubar to create submenus
added popupmenubaritem to be able to select it