Fix accelerometer permissions