adds edit ability to todo item