Key Debouncing added, Events not working