  
    s->addWidget(layoutToWidget(vlayout, this));
  
    an = new AdvancedNetworking(this, wifi);
    connect(an, &AdvancedNetworking::backPress, [=](){s->setCurrentIndex(1);});
    connect(an, &AdvancedNetworking::openKeyboard, [=](){emit openKeyboard();});
    connect(an, &AdvancedNetworking::closeKeyboard, [=](){emit closeKeyboard();});
    s->addWidget(an);
  
    s->setCurrentIndex(1);
  
    // Update network status
 
</s> remove   s->setCurrentIndex(1);

 </s> add  </s> remove   //Back button
 </s> add   // Back button </s> remove   connect(ssh, &SSH::closeSSHSettings, [=](){s->setCurrentIndex(1);});
 </s> add   connect(ssh, &SSH::closeSSHSettings, [=](){s->setCurrentIndex(0);}); </s> remove   //vlayout to widget
 </s> add   // vlayout to widget </s> remove   //Enable tethering layout
 </s> add   // Enable tethering layout
  connect(an, &AdvancedNetworking::backPress, [=](){s->setCurrentIndex(0);});
  
    s->addWidget(layoutToWidget(vlayout, this));
  
    an = new AdvancedNetworking(this, wifi);
  connect(an, &AdvancedNetworking::backPress, [=](){s->setCurrentIndex(0);});
  connect(an, &AdvancedNetworking::backPress, [=](){s->setCurrentIndex(0);});
  connect(an, &AdvancedNetworking::backPress, [=](){s->setCurrentIndex(0);});
    s->addWidget(an);
  
    s->setCurrentIndex(1);
  
    // Update network status
keep keep keep keep replace replace replace keep keep keep keep keep
 Qt UI refactoring + improvements (#20033) 
selfdrive/ui/qt/offroad/networking.cc