one button to stop all action instead of all buttons clickable while taking spectra