Fix send word to main window for new UI when history view mode is on