Add support for editting todo items.