private void shortcut_Pressed(object sender, KeyPressedEventArgs e)
 {
     stopRecording(sender, e);
 }
 /*
  * Method: shortcut_PressedCreate()
  * Summary: An event handler for the "Stop" keyboard shortcut.
  * Parameter: sender - The sender of the action
  * Parameter: e - The keypress arguments i.e. the shortcut pressed to trigger the event
  */
 private void shortcut_PressedCreate(object sender, KeyPressedEventArgs e)
 {
     // Call the stopRecording method to end the recording
     stopRecording(sender, e);
 }