put checked attribute to false in checkbox after event is created