Added validation to InventoryMenu.