Added software debounce to the keypad test.