Support for toggle Button.