Adding a 'click' state to a button

Question:
Unlike Wix Editor that had buttons for slideshow navigation, Wix Studio doesn’t offer that feature. So, using a tutorial I found on YouTube (https://www.youtube.com/watch?v=ASaGt0S2BqU) I set up buttons for navigation and they work fine. Issue is that when the user is on a particular slide, the button doesn’t show which slide they’re on, since buttons only have regular and hover states. Can anyone guide me (with code, as I’m a non-coder) about how to make the buttons show which one is clicked on?

This is the code I’ve used:
$w.onReady(function () {

$w(“#button9”).onClick(() => {

$w(‘#slideshow3’).changeSlide(0);

})

$w(“#button10”).onClick(() => {

$w(‘#slideshow3’).changeSlide(1);

})

$w(“#button11”).onClick(() => {

$w(‘#slideshow3’).changeSlide(2);

})

$w(“#button12”).onClick(() => {

$w(‘#slideshow3’).changeSlide(3);

})

$w(“#button13”).onClick(() => {

$w(‘#slideshow3’).changeSlide(4);

})

});

$w(“#button8”).onClick(() => {

$w(‘#slideshow2’).changeSlide(2);

})

});

Here’s a screenshot

have a look here

Thank you! Will review this and try it out.