fix current setting still saved after clicking on reset button