Fix writeNumber
Keep track of last launch time