pattern save is now using chrome.storage.sync