added functionality to add item to inventory/grocery list