Added reset button to preference dialog
Wire up the reset button.
Button layout for preference dialog.