Control how members view website in real time

As far as I can understand you are saving the state of the button in the database. But in my case, I have to show the same question to all my users.

When I refresh your website, although the state remains the same, but the page reloads to member-undefined.

I have figured out the boxes and all the other stuff. Just struggling with syncing data with all the users at the same time.