isRunning() to Application class