How do I hide/show a button on Click?

So I’ve created a Channel Feature similar to YouTube, but much more advanced like with Interactive Elements.
And with this channel feature I have a Subscriber Box, what I’m trying to figure out is How do I code it out to where I can show another button “Unsubscribe“ when someone clicks on the first button that says “Subscribe?”

You can change its label to “Subscribe” and then change the logic of this button based on the label.

$w("#bookButton").label = "Unsubscribe"
$w("#bookButton").onClick((event) => buttonLogicFunction())

function buttonLogicFunction(params) {
    if ($w("#bookButton").label == "Unsubscribe") {
        $w("#bookButton").label = "Subscribe"
    } else{
        $w("#bookButton").label = "Unsubscribe"
    }
}