private void SetEventHandler(bool mode) { UBT.SetEventHandlerMode(mode); UBT.CheckEventHandler(); UpdateEventHandlerStatus(); }