Fixed all the regressions after moving to Chrome.storage.sync apis