Check if background is in spectrum range is introduced

if the spectrum and overlay-background are not the same, the background of the spectrum will be resetted and the overlay is shown as normal