Makes solenoid change by pushing the button.