Fixed end day bug and added double click in time m

ode