Added delete ondemand event function into the events_ondemand.php page.