Clear localStorage when data is broken