How to prevent Waves Signer automatic logout if the user refreshes the page?

Hello bros, I am working with the Vladimir Zhuravlev example, everything goes nice but,
How to prevent waves signer automatic logout if the user refreshes the page?
Thnks