Updated Clear Web Browser history applicationWillResignActive method