working reset button for config