The .value attribute cannot be used with .extend, so functions needed to be added for this.
Dont add empty todos.