adding the registerReceiver solved the issue.
The alarm goes off