added eventhandlers to dropdown entries