@skdfsjlsld, Hi, welcome to the forum!
Please read How to get the best out of this forum.
Then please edit your post and put your code into a code window, using code tags, the </> command symbol. Then your code is more pleasant to read, and can be easily copied for test.
Consider to format your code first, using the Auto Format method of the Arduino IDE.
In the Displays section, you should provide clickable links to the devices in question, so anyone knows exactly what you use, although your information is clear enough for me.
I am busy for now, but may later look at your problem.
Jean-Marc