Code Optimization for Radio and MultiCheckbox Helper