Adds toggle button functionality