         }
 
         if item is AppearanceSettingsDimSwitchItem {
-            print("here in if item is AppearanceSettingsDimSwitchItem")
             cell.disclosureType = .switch
             cell.disclosureSwitch.isEnabled = false
             cell.disclosureSwitch.isOn = UserDefaults.wmf_userDefaults().wmf_isImageDimmingEnabled

        let selector = #selector(applyAutomaticTableOpenChange)
        NSObject.cancelPreviousPerformRequests(withTarget: self)
        perform(selector, with: NSNumber(value: sender.isOn), afterDelay: CATransaction.animationDuration())
        /*
        if (sender.isOn) {
            PiwikTracker.sharedInstance()?.wmf_logActionEnableImageDimming(inContext: self, contentType: self)
        } else {
            PiwikTracker.sharedInstance()?.wmf_logActionDisableImageDimming(inContext: self, contentType: self)
        }
 */
    }
    
    public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {

            cell.disclosureType = .switch
            cell.disclosureSwitch.isEnabled = true
            cell.disclosureSwitch.isOn = UserDefaults.wmf_userDefaults().wmf_isAutomaticTableOpeningEnabled
            cell.disclosureSwitch.addTarget(self, action: #selector(self.handleAutomaticTableOpenSwitchValueChange(_:)), for: .valueChanged)
            cell.iconBackgroundColor = self.theme.colors.secondaryText
            cell.iconColor = self.theme.colors.paperBackground
            cell.selectionStyle = .none
        } else {
            cell.disclosureType = .none
        }
        
        return cell
    }
