1.verify the callback is function or not.
Merge branch 'v0.5.x' of https://github.com/caoglish/HelperBar-Framework into v0.5.x