Use Android Application class for application loop