Another attempt at fixing background notifications.