Refactors the AlarmReceiver so it can work independently from the BluetoothChatActivity;
Now the alarm works after a system boot.