Error when updating the Inventory Widget so the changes aren't saved