Added the detector button