fix on add event when some value was empty ; show type of event on list
edit event correctly