Added clean done tasks function