Added method to correct virtual keys returned in ButtonEditDialog.