Fixed Toggle Button group logic.