improve localization & settings restore