Here I listen for the alarm that was created and run the `doNotifications` function