private void BtnApply_Click(object sender, EventArgs e)
 {
     SaveSelectedServer();
     controller.SavePortConfig(portMap);
 }