add class to history table [UI]