Added done tasks function