Allow blur and double click for editing a todo. Fix nextId