Added History functionality to History tab