Fixed NPE for Android 5.0