Added functionality to Clear History