First implementation for AlarmReceiver, AlarmManager and saving Counters.