-moved the code that used to be in onResume into onNewIntent, so that a received text message would not show every time you paused then resumed the activity

-fixed AndroidManifest by moving the priority to the right place.

-don't remember what i did in SmsReceiver