Adds charset selection in prefenreces.