Working in class HistoryFragment