Save todos to local storage as soon as a new one is created, rather than...

... only when a todo is toggled so that they persist straight away.