Added class that switches theme and button listeners.