Updated ClearDone and ClearUrgent to use Iterable taskList.