Added Pending Intents for notifications. Fixed error in Intent Receiver.