Hide One Button, make other button visible

Yes, I want this exactly, but in my case It’s not happening.

I even tried the same logic and nodes you did, but still the same, the first button is still leaving an imprint behind.