How to add calculation value for each options in button checkbox and other selector widgets?