From a general perspective there is a concept called promises which you can use in your app to perform certain activity when a previous activity completes. Are you looking for something else?
Windows Store Developer Solutions, follow us on Twitter:
@WSDevSol|| Want more solutions? See our blog