Added editing feature for todo app