Adding spin box to threshold