changed time input of 0:0:0 to proper time of clicking button