Clear available languages when loading settings.

Thanks to Victor Häggqvist for spotting this.