Handling notification when in background.