Added a call of a callback function in case when no registration id were given.
Merge pull request #38 from RomanIakovlev/master

Added a call of a callback function in case when no registration id were given.