Modified Edit function and ToDo model
- cast String to Priority in edit function before passing into the ToDo Model
- modify setter to a proper setter that takes in Priority variable