completed checkpoint for clearing history in blocbrowser
Automatically clear history when the app is closed