     internal let buttonConnectBottomSpacing: CGFloat = 24
 
     var deepLinkCredentials: DeepLinkCredentials?
+    var selectedServer: Int = 0
 
     var shouldAutoConnect = false
     var url: URL? {


    @objc func buttonCloseDidPressed(_ sender: Any) {
        dismiss(animated: true, completion: nil)
        AppManager.changeSelectedServer(index: (DatabaseManager.servers?.count ?? 1) - 1)
        AppManager.reloadApp()
    }

    func connect() {

            navigationItem.leftBarButtonItem = buttonClose
        }

        selectedServer = DatabaseManager.selectedIndex
        infoRequestHandler.delegate = self
        textFieldServerURL.placeholder = defaultURL

