Creating a new sample for the RadioButton widget.