Fixed setting _selectedButton

Fixed setting _selectedButton local variable inside ToggleView class in
setSelectedButton setter