False triggering on my Arduino Nano

Thank you, that is very helpful, I will apply those changes and check it out.