onItemsChange

Function called when the items displayed in the menu change.