public void connect(String name, String adr, int port){
		// TODO: Dose not work as it should at the moment!
		if (GUI.getInstance().getPortField().getText().equals("") && GUI.getInstance().getServerField().getText().equals("") && GUI.getInstance().getTxtEnterName().getText().equals("")){
			appendToChatArea("Something went wrong :'(");
		} else {			
			Client.setConnection(new ClientConnection(adr, port));
			Client.getConnection().send(GUI.getInstance().getTxtEnterName().getText());
			writer.saveState(name, adr, ""+port);
		}
	}