I am trying to write delay function. I simply do not want to loop through my list everytime user type in something. Instead I want to wait 1 second after user has finished t