Fixed logic of inventory saving (save changes)   Ticket: GCP-9057   Reviewer: To be reviewed by Jai