add localstorage to make continue work possible