third and last safeguard against observer being called when activity has not been set up (probably after orientation change in ExpenseEdit activity)
grouping improved