Added random selection for Function dropdown