moved edit-todo to component