fixed schedule view toggle button bug