changed exit button to reset