added button to clear the history