if-else used for check is interstitial ad loaded or not. If not loaded then startIntent by else. (code is below).
if-else
interstitial ad
startIntent
else