The GUI does no longer crash if the user tries to acquire a spectrum without a spectrometer