added debounce delay and changed menu from tuple to string