manage valid time  app