Works incorrectly on an android with cyanogenmod 11 (Android 4.4.4)