Fixed handlers initialization

Dear Daniel,
I've fixed a NPE which occurs adding handlers to InAppBrowser.

Gregor