Add delay and threshold for auto complete values