BUGFIX: Ensure that theme is detected properly

Prevent the update of config SSViewer.theme with SSViewer.custom_theme as this was blocking the detection of the theme set by SSViewer::set_theme() and only detecting the theme configured via CMSSettingsController.