Show/Hide code working on Desktop, but not mobile

Hi! I have a button on a dynamic page that is visible depending on boolean data from a dataset. It works perfectly on desktop, but I just realized it’s not working on mobile at all. It is visible no matter what. I’m not getting any errors in the code, If someone could take a look and see if they know a solution, I would really appreciate it!! Here is a link to one of the pages: https://mallorybean87.wixsite.com/pgfdemo/PGFProducts/Brain-Teaser-Box/0
And here is a code snippet:

export function dynamicDataset_ready() {

if ($w(‘#personalizeOption’).text === ‘false’) {
$w(“#personalizeButton”).hide();
$w(“#personalizeBtnImage”).hide();
$w(“#personalizeOption”).hide();
}
else {
$w(‘#personalizeButton’).show();
$w(“#personalizeBtnImage”).show();
$w(“#personalizeOption”).show();
}

}

Edit, problem is fixed, it was caused by #personalizeOption being hidden on mobile.