Arduino program won't stay on when connected to a 12v battery