Added android wait screen functionality