Added handler for event DispatcherUnhandledException