Declaring Alarm permission
Launching timer only on play
Fixing an error if the current broadcast is null