Added guard to Notifcation to stop it happening when no consumptions
Added guard statements for null pills
Fixed problem with rotating whilst dialog was open