refactor inheritance (Switch/Radio inherit from CheckBox)