initialized event to dropdown