Add clear completed tasks function