Fix casting android application to base interface

Casting to AndroidApplication instead of AndroidApplicationBase is causing crashes on Android, when using the new AndroidFragmentApplication class.