Fixing toggle button

Fixing the toggle button.