Added an error message is there is no active event