Added function to reset the time in the locktime-file