Fixed the InventoryController.java to update views after removing items.