add switch window ability in apps