change how language preference is set and stored