Added respondeToSelectors checks for the delegates

Since the delegates are optionals checking before calls avoid crash the app if none of them is implemented
Merge pull request #2 from Maguszin/master

Added respondeToSelectors checks for the delegates