wrote method to migrate options from localStorage to chrome.storage.local