fixed saving itemToCategory and itemToFoodCategory issue