Fixed bug #14687: Now stroing in localstorage, not in sessionstorage