Using Canvas framework to implement Todo list practice