public void changeMode(ClientMode mode){
		if(this.mode.equals(ClientMode.Sleep)){
			networkmanager.sendData(CTSTransferMode.ModeUpdate, mode);
			acknowledged = true;
		} else {
			acknowledged = false;
		}
		this.mode = mode;
		System.out.println("mode change");
	}