Made the relay turn off when the exit button is pressed.