fixing a bug in ColoredRadioButton: paitner can't be used after calling super(...)