Fix language when the device has been rotated (Language)

If the device has been rotated the default language would return. This PR fixes the issue.