debounce refresh action to make it behave a little bit better on fast keystrokes