Added isRunning for android..