Fix undefined variable onAdDismissed