Added null check in HybridWebView