 
     private func switchToAuto() {
         guard UserDefaults.customNodeIP != nil else { return } //noop if custom node is already nil
+        saveEvent("nodeSelector.switchToAuto")
         UserDefaults.customNodeIP = nil
         UserDefaults.customNodePort = nil
         button.title = S.NodeSelector.manualButton

        let okAction = UIAlertAction(title: S.Button.ok, style: .default, handler: { action in
            guard let ip = alert.textFields?.first, let port = alert.textFields?.last else { return }
            if let addressText = ip.text {
                var address = in_addr()
                ascii2addr(AF_INET, addressText, &address)
                UserDefaults.customNodeIP = Int(address.s_addr)

import UIKit
import BRCore

class NodeSelectorViewController : UIViewController, Trackable {

    let titleLabel = UILabel(font: .customBold(size: 26.0), color: .darkText)
    private let nodeLabel = UILabel(font: .customBody(size: 14.0), color: .grayTextTint)
