private void startSensorReading() {
sensorReadingThread = new Thread() {
@Override
public void run() {
Sensor sensor = new Sensor();
while(true) {
float[] sensData = sensor.readData();
temp = sensData[0];
hum = sensData[1];
try {
sleep(5000);
} catch (InterruptedException ex) {