Corrected an error that made the application crash if no Logoitech Keyboard was connected