When a websocket connection is made I want to show an alert message with Alerter(UI) library that connection is made succesfull. But it crashes every time when I want to sho