Customize UI for history view