Cleanups in HistoryFragment