Added debouncing to card searching