adding stop recording  button and minimizing recording frame instead of iconifying it to enable the user to stop the recording even if the keyboard hook doesn't work