Refactored option radio check setting.
Refactoring.