Fixed the toggle button error.