[Bug 1308769] [NEW] Languages are saved too late - after calling clear()