Cannot bring the target application in the foreground

@Nipendra_Dhiman,

Try this solution.