Changed connectToServer() event