Removed SensorManager from MainActivity, fix figure popping in landscape mode