Changed toggle behavior to disable scheduled

Changed it so that it only hides the classes in the gallery, not the
scheduled classes. For the scheduled classes, it just disables them but
they are still visible. Not the most efficient code, but it seems to
work so far