Refactor History component to use Dispatcher instead of Events