Set the callback when notifyOnCancel is called
Merge pull request #3 from justinsb/set_callback

Set the callback when notifyOnCancel is called