add localstorage state detail