Hmm..but this reminds me that check manifestURL existence in appWindow maybe make more sense.