updated conditions for duplicate item to shopping list