Added logic to delete all completed todos