attempting to save prefs to sync storage at the correct intervals
vanilla-izing addon-sdk modifications due to restrictions