generator ui click & dbl click