Fix for the checked flag for Android sensors