Removing duplicate error and more version checks for localstorage
Merge pull request #2389 from tgriesser/localstorage-fix

Removing duplicate error and more version checks for localstorage