added a button that clears all completed tasks by invoking methods in the todos controller