Improved the way to input the hotkey into the form.