Implemented history UI