Why not create the alarmIntent inside the `cancelAlarm` function? Avoids code duplication.