Adds an action item to the menu that will invoke fired when it is triggered.
of the item
invoked when this item is triggered