Fix older Android devices for shake detect