registerMenuItem
Register the given MenuItem.
Note: When the given menu item's ID is already registered, it will replace the previously registered menu item. Note: The default order of the registered menu items will be determined by their registration order.