Added completed tasks view and duration check.