Who knows you programmed it like that
Hint: show your code (and please use code tags for that).
Your topic has been moved to a more suitable location on the forum; Installation and Troubleshooting is not for problems with your project, only for problems with boards themselves and with the IDE. See About the Installation & Troubleshooting category.