Persist notes to local storage