public void updateDescription(String text) {
txtResult.setText(text);
}
private void notifyLuminosityEvent(int luminosity) {
LuminosityEvent luminosityEvent =
new LuminosityEvent(this, luminosity,
EnvironmentPersistence.getEnvironments().get(0).getPojo().getZone(0));
sensor.notifyEvent(luminosityEvent);
}