Android broadcastreceiver creates new instances
===

Well, i have a class extending broadcastreceiver which is listening for messages. Now whenever it receives a message i creates a new instance of my app. So when i am closing it i have to tap back button 2 times. Can anyone help me?

    public class SMSReceiver extends BroadcastReceiver {
	public void onReceive(Context context, Intent intent) {
		Bundle myBundle = intent.getExtras();
		SmsMessage [] messages = null;
		String strMessage = "";
		String phoneNumber = "";

		if (myBundle != null) {
			Object [] pdus = (Object[]) myBundle.get("pdus");
			messages = new SmsMessage[pdus.length];

			for (int i = 0; i < messages.length; i++) {
				messages[i] = SmsMessage.createFromPdu((byte[]) pdus[i]);
				strMessage += "SMS From: " + messages[i].getOriginatingAddress();
				strMessage += " : ";
				strMessage += messages[i].getMessageBody();
				strMessage += "\n";
				
				phoneNumber = messages[i].getDisplayOriginatingAddress();
			}
			
			if (phoneNumber.equals("T-Mobile")) {
				Toast.makeText(context, strMessage, Toast.LENGTH_SHORT).show();
				abortBroadcast();
			}

		}
	}
    }