Added reset button to preferences.
Added alert dialog to reset button.