code: function setSelectedItem(menuItemid) {
      let menuItem = itemsCache[menuItemid];
  
      if (!menuItem) {
          console.warn(`Cannot select menuitem. The given id ${menuItemid} does not exist.`);
          return;
      }
      menuBarFeature.setSelectedItem(menuItem);
  }
docs: Set the given menuitem as active (using the menuitem's unique id).
  
  @inner
  @alias module:menu.setSelectedItem
  
  @param {String} menuItemid 		The id of the menu item as per the configuration