support for case when localStorage is full + remove old styles