add exception handling on localstorage quota