Call Dismiss() instead of Cancel()
When AndHUD.Shared.Dismiss() is called, it would invoke Cancel(), which triggered the cancel event listener. There is thus no way to dismiss the dialog without triggering cancel event listener. To rectify this I changed it to Dismiss() so that cancel event is not triggered unless the user explicitly cancel the dialog by using the back button.