Notifications now only being sent when tasks are actually visibile