Passing `event.values` to the subject isn't safe. According to the official documentation http://developer.android.com/reference/android/hardware/SensorEventListener.html#onSensorChanged(android.hardware.SensorEvent):

    NOTE: The application doesn't own the event object passed as a parameter and therefore cannot hold on to it. 
    The object may be part of an internal pool and may be reused by the framework.

New array should be created instead.