Welcome! You have an interesting project, but there is a proper way to post code, this allows us to help you. Taking what you posted and putting into a readable form takes a lot of time many do not want to spend. It will only take you another 10 seconds after your figure it out. l have no clue as to what each button is or how it interacts with your code, post an annotated schematic showing how you have wired it, not pictures such as frizzy drawings they are useless. Include links to "Technical information" on the hardware parts, links to sales outlets like azon are next to useless. Doing this will have a big positive effect on your answers and will improve the accuracy of the answer a lot.