Use the correct API for cancelling notifications.