How to select dynamic radio option

Alright I have got the AP Scan button working but the above solution didn't worked for selecting the radio button. Here is the macro if that could help:

connect to the router.kmmacros (6.0 KB)

I can not post the whole code here because of the forum limitations so I upload it on pastebin:

https://pastebin.com/8SWMkpZL