Added time diff to the SensorEventListener