Added onchange-event to checkbox