Changed Inventory to support different buttons based on flag