I made update time value in MainActivity after measure the time.