updated double click to use time.time