Moved the applet GetEventHandle code outside of the regularapp block since appletMainLoop() uses this event.
Moved the applet GetEventHandle code outside of the regularapp block since appletMainLoop() uses this event.

switchbrew/libnx