Fix onWidgetDismiss() is not called.