The clearHistory() doesn't clear histories data

@Calendee Were you able to check out the codepen posted by @phamaa ?