added resetWebView method
resetWebView when applicationWillResignActive
added welcome dialog
Automatically clear history when the app is closed