RE: Electric question
A relay will work, I used to play with relays and you can set it up that it latches on when it gets an input to a particular pin. to reset the relay you will need to set ground to the input pin. Whoa that was like 15 years ago when I learned these things.