Bug 1016161 - Flush prefs on handling a locale change event. r=mfinkle