Changed localStorage per sessionStorage