Interrupt funtion with delay()

Hi guys!

so, how did you fix it ? can you show us what did you do?

Thank you very much!