Time lapse retargeting

I’m using system.util.retarget(’’) to move through projects in a button script. For ‘small’ projects, the time that switching between projects is a short, like 3-5 seconds. However, if the project has a long content (windows, templates, scripting, bindings) takes up to 15 secs. Is there a way to improve the time lapse both these projects with large content.

What if you change the retarget script to go to a very small screen on that app that takes a while to load.