Fixed #188: Switching the UI mode should focus the translate line and update it.