Code formatting is backticks, not commas or apostrophes… I fixed it this time
As for your issue… Perhaps someone else will dig through your code for you, but I don’t wish to right now So I suggest you start by placing some Serial.print() commands in various functions to track where your code is as it runs… then perhaps you can determine exactly where it stops working.
Also, all your timer controlled functions are running at the exact same time every 2 seconds… it is recommended to space them out so they do NOT run concurrently.