Fix localStorage clear