using chrome.storage.sync instead of localstorage