editing mode, install debounce