             .upon { result in
                 assert(result.isSuccess, "Private data cleared successfully")
 
+                self.profile.prefs.setObject(self.toggles, forKey: TogglesPrefKey)
+
                 dispatch_async(dispatch_get_main_queue()) {
                     // Disable the Clear Private Data button after it's clicked.
                     self.clearButtonEnabled = false

private let NumberOfSections = 2
private let SectionHeaderIdentifier = "SectionHeaderIdentifier"
private let HeaderHeight: CGFloat = 44

class ClearPrivateDataTableViewController: UITableViewController {
    private var clearButton: UITableViewCell?

            let control = UISwitch()
            control.onTintColor = UIConstants.ControlTintColor
            control.addTarget(self, action: "switchValueChanged:", forControlEvents: UIControlEvents.ValueChanged)
            control.on = toggles[indexPath.item]
            cell.accessoryView = control
            cell.selectionStyle = .None
            control.tag = indexPath.item
