Make sure to revert the key press if there is no schematic loaded.