I added a new formatting tag to create buttons that gives better feedback about state. On the gif demo you can see course selecting buttons will display in darker color to indicate selected course.
To implement it I added <if></if>
tag. This tag accepts an expression and render content if expression is true.
<if 1==1><bold>Caption</bold></if><if 1==2>Caption</if>
This tag will display a caption in bold text. As we can use {LOCAL SETTING:X}
tag on menu item buttons I can format the button depending on the local setting value.
<if '{LOCAL SETTING:SelectedValue}'=='1'><bold>Caption</bold></if><if '{LOCAL SETTING:SelectedValue}'!='1'>Caption</if>
So button will display in bold caption when I set SelectedValue
local setting to 1
.