changed chrome.storage.local to chrome.storage.sync