Wrote initial sync code, still not syncing to localStorage.