Added editToDo function to populate editable form