uncomplicating and refactoring in classes CompareShowFragment and ListHistoryAdapter