Using Potentiometer to Control LED Blink Speed

it works, but it freezes ALOT