Make localStorage prefs more tougher.