observer pattern for shopping list activity;