Implement background alarmanger example