The code works all fine! BUT
So the problem is related with the functioning of the button that is linked with the interrupt 0 and when it is pressed it gets the uC out from no matter what its doing to handle the time recording in the interrupt function that is the clickReader() and then it is supposed to change the length of the LED strip based on the time difference between the button presses which it does but after the code changes the length and completes one iteration of animation movement until the end of the strip the uC restarts????
here's how the strip Animates:
CODE attached because 9500 limit crossed!