storing the last sync result in localStorage, so we can use it before resyncing next time