Resetting alert boolean when persistence is checked and notification sent