theme changes
Catch localstorage exception