fixed quit popup time, modified timer