Fixing issue with background notifications.