Record a clip when the contact sensor closes