Gym Automation

I’m trying to create an automation so that when my gym app is opened at a specific location that a specific playlist will start playing. How ever, I am having trouble with the IF blocks it doesn’t allow me to select location. See the image below. How can I fix this?