        let isOn = self.servicesPool.appSettingsService?.bool(forKey: .showOnlyKDBFiles) ?? true
        showOnlyKDBFilesSwitch.setOn(isOn, animated: false)
        showOnlyKDBFilesSwitch.addTarget(self, action: #selector(didToggleShowOnlyKDBFileSwitch(_:)), for: .valueChanged)
    }

    func getViewController() -> UIViewController {
        return self
    }

    @objc func didToggleShowOnlyKDBFileSwitch(_ control: UISwitch) {
        self.servicesPool.appSettingsService?.set(control.isOn, forKey: .showOnlyKDBFiles)
    }

}
