Fixed null pointer exception when loading WebView