refactor(config) onLocalStorageChange