Update to use alarm manager instead of intentservice