You can use ${STG:value} and ${STG:text} to get value/key of selected key-value variable.
${STG:value}
${STG:text}