fixed bug that allowed spaces to be added to shopping list.