Add done flag to Task