Fixed issue with selected theme not properly getting select in the settings dialog