show/hide toggle button on mode change