added very rudimentary saving of notes to local storage