Fixed error in saving language settings