title: UILocalNotification fires after reinstalling the app
body: <p>My app has an alarm function using UILocalNotification, and it works great. However, if the user uninstalls the app, then later REINSTALLS it, he would receive all the "in between" notifications at once.</p>
  
  <p>I have tried to call:</p>
  
  <pre><code>[[UIApplication sharedApplication] cancelAllLocalNotifications];
  </code></pre>
  
  <p>if it's the first time the app is launched, but it doesn't help, because the notification is received even before application:didFinishLaunchingWithOptions: is called.</p>
  
  <p>This was worse in 4.0 when the alarm was repeated even if the user has deleted the app, but at least that bug was fixed by Apple in later release. However now I'm stuck with this. Anyone has an idea?</p>