changes todolist to table view