Your pictures didn’t show for some reason.
At least it is working now
I have no idea what the difference is ( too much code here I’m afraid ), you’ll need to study the differences.