That is expected. For the tab to be clickable, it needs to be a control. Currently it is an indicator.
Indicators can (for obvious reasons!) not be operated at run time. You can easily change that with a few simple modifications to the program. Since you also want programmatic control, you might need a local variable. No big deal. 😉