Implemented edit todo.

Editing the todo's deadline still has bugs.