Fixing issue with duplicate background notifications.