fix bug and adjust button's appearance

fixe a bug of inconsistency of main window and child dialog and adjust
the button's appearance