Added a toggle button helper.