Some fix

 - fixed showAdvancedSettings
 - fixed on_buttonBox_accepted