Fixed AlarmManager usage.