Adds todo item editing functionality