getMenuItemById = menuId => {
  const menus = Menu.getApplicationMenu()
  return menus.getMenuItemById(menuId)
}
Return the menu from the application menu.

@param {string} menuId Menu ID
@returns {Electron.Menu} Returns the menu or null.