Yes Michael I am using same extension for both primary and secondary buttons, there is no explicitly defined color properties defined at front end for the extensions so its just that for active selection is marked/ highlighted as green by default but here for secondary button it dosent highlight.
That's not what I meant. I mean that I don't have the same extension that you use, hence I don't have colors neither for Primary nor for Secondary - all buttons are white all the time. Can't help you with colors.
Yup Michael, its 90% complete I have to use the extension to make the distinction on selection (Short/ Long) , but using the extension dose not solve my problem with the solution you shared I am facing the same issue on toggle it dosent show chart.
I tried this extension, and noticed that the buttons turn green if the variables don't have '=' sign, but do not turn green if the sign is there. I'd recommend you to contact the author of the extension to fix it.
Still, there is a workaround, see in the attached version. I changed the definitions of variables removing the '=' sign. But you still need to calculate the variables, so I had to make changes in your dimensions and expressions in the chart itself. Dimension: