Add localStorage key to todos collection
Fix nextId calculation