AlarmManager launching multiple times
<p>I am using this code to create an Alarm in a activity that can be launched by the user.</p>

<p>The Alarm sends an intent that launches a broadcast reciever and then a service.</p>

<pre><code>private void setGameAlerts(){
                //Setting alarm to fire off NEW_GAME intent every 24 hours.
                 String alarm = Context.ALARM_SERVICE;
                Calendar calendar = Calendar.getInstance();

                calendar.set(Calendar.HOUR_OF_DAY, 8);
                calendar.set(Calendar.MINUTE, 0);
                calendar.set(Calendar.SECOND,0);
                calendar.set(Calendar.MILLISECOND, 0);



                AlarmManager am = (AlarmManager)getActivity().getSystemService(alarm);
                    Intent intent = new Intent("NEW_ITEM");
                    PendingIntent sender = PendingIntent.getBroadcast(getActivity(), 0, intent, 0);

                    am.setRepeating(AlarmManager.RTC_WAKEUP,calendar.getTimeInMillis() , AlarmManager.INTERVAL_DAY, sender);

                     Log.e("RELEASE LIST", "ALARM Set For 1 day from " + calendar.getTimeInMillis());
</code></pre>

<p>For some reason EVERYTIME the activity is launched it Automatically sends this intent and the service is launched. is there something wrong with my code that is causing this to happen other than the alarm going off everyday at 8 oclock?                </p>
