Used local storage to store todo items