Added latency for typing in autocomplete + avoid recursion due to focus change