Added InventoryChange event handler