Show "Dependency graph" button for done tasks

Show "Dependency graph" not "Show error trace" button for done tasks in
task list.