title: Windows Phone Toast notification not firing at specified time
body: <p>I am creating an app with a timer in it.  I want to display a toast notification(or some sort of notification) if the person leaves the app so they know the timer is over.  I used the "PeriodicTask" using ".FromSeconds", but it seemed it didn't fire it at the specified time.</p>
  
  <pre><code>   PeriodicTask periodicTask = new PeriodicTask("TaskTest");
       periodicTask.Description = "Task";
       try
       {
           IsolatedStorageSettings.ApplicationSettings["TimerForSchedule"] = TimeNum;
           ScheduledActionService.Add(periodicTask);
           ScheduledActionService.LaunchForTest("TaskTest", TimeSpan.FromSeconds(((TimeNum*60)))); 
       }
  </code></pre>
  
  <p>On the "OnInvoke" method for the scheduled agent project, I have the following:</p>
  
  <pre><code>protected override void OnInvoke(ScheduledTask task)
      {
          if (task.Name == "TaskTest")
          {
  
              int time = Convert.ToInt32(IsolatedStorageSettings.ApplicationSettings["TimerForSchedule"]);
              bool periodic = (bool)(task is PeriodicTask);
              ShellToast toast = new ShellToast();
              toast.Title = "Done";
              toast.Content = "Timer is over";
              toast.Show();
          }
          NotifyComplete();
          ScheduledActionService.Remove("TaskTest");
      }
  </code></pre>
  
  <p>Everything seems to fire properly because I DO get a notification, but I do not get it at the expected time.</p>
  
  <p>Any help would be appreciated.</p>