finish todo and hide the todo in the list page.