changed a button debounce