Fixed event triggering and sending

Restarting was not working, probably due to process being removed