Moving onOrientationChanged() code to a separate thread which actually queries compass orienation on a set time interval.