Added a call back function for alert
Merge pull request #16 from Prashanfdo/AddingCallbacks

Added a call back function for alert