gyroscope stops working and works only on rebooting phone.