function updateHotkey(newHotkey) {
  electron.globalShortcut.unregisterAll();
  registerAssistantHotkey(newHotkey);
  setTrayContextMenu(newHotkey);
}
Re-registers global shortcut and rebuilds tray context menu
based on newly assigned assistant hotkey.

@param {string} newHotkey
Newly assigned assistant hotkey