Fixed GUI  optionpane error