properly associating language labels with their toggles (fixes #2)