18.04 – The keyboard turns off in Alpha Switch 12

I have an Alpha Switch 12 with an Ubuntu 18.04 that works very well with the exception that when I physically close the keyboard on the screen, the keyboard stops working and the backlight turns off. The only way it seems to turn it on again is to disconnect the keyboard and then reconnect it. Any help would be highly appreciated!