Adds support for toggle buttons