ToggleButton functionality added

Toggle Button functionality added