Fix typo in the todoListFactory