Added support for MToggleButton