Updates switch label styling to use a class selector instead of an id selector.