Changed favourite pills task to be ran only when creating the action bar
Stopped crash when adding favourite from graph fragment