private void applyConfigChanges(String deviceOldName) {
		model.changeDeviceName(device, deviceOldName);

		Host host = model.getHost(device.getHost());
		Client client;
		if ((host != null)
				&& ((client = ClientConnectionManager.getInstance().getClient(
						host.getHostname(), host.getPort())) != null)) {
			if (client.isDataConnectionActive(device.getSerialNumber())) {
				client.setPollingRate(device.getSerialNumber(),
						device.getProperty(Device.POLLING_RATE));
				client.setImageQuality(device.getSerialNumber(),
						device.getProperty(Device.IMAGE_QUALITY));
			}
		}
	}