Add functionality to show only completed todos