//initlize the connection when clicking the connect buttom
        void IntilizeConnection()
        {
            Thread connectionThread = new Thread(() => Client.Instance.ConnectToServer(ApplicationSettingsModel.Instance.FlightServerIP, ApplicationSettingsModel.Instance.FlightCommandPort));

            connectionThread.Start();
            flightBoardModel.GetServerData(ApplicationSettingsModel.Instance.FlightServerIP, ApplicationSettingsModel.Instance.FlightInfoPort);
        }