Added clearing localeStorage before new data is stored