Fixed app startup on Android 2.x, crash fixes