added rescheduling tasks functionality when updating user preferences