Use amplify to save language settings after a refresh