SIM900 keeps sending SMS while input is HIGH/LOW !!!

[#include <SoftwareSerial.h>

SoftwareSerial mySerial(8, 9);

void setup() {
mySerial.begin(9600);
pinMode(7, INPUT); // SPD
pinMode(13, OUTPUT); // LED

digitalWrite(13, LOW);
}

void loop() {

if(digitalRead(7) == HIGH) {
digitalWrite(13, HIGH);
mySerial.println(“AT”);
updateSerial();
mySerial.println(“AT+CMGF=1”); // Text Mode
updateSerial();
mySerial.println(“AT+CMGS=”+xxxxxxxxxx"");// H/P No.
mySerial.print(“SPD OK”);
updateSerial();
mySerial.write(26);
}
else{
digitalWrite(13, LOW);
mySerial.println(“AT”);//Handshaking with SIM900
updateSerial();
mySerial.println(“AT+CMGF=1”); // Configuring Text Mode
updateSerial();
mySerial.println(“AT+CMGS=”+xxxxxxxx"");// H/P No.
updateSerial();
mySerial.print(“SPD ALARM”);
updateSerial();
mySerial.write(26);
}
}

void updateSerial()
{
delay(500);
while (Serial.available())
{
mySerial.write(Serial.read());
}
while(mySerial.available())
{
Serial.write(mySerial.read());
}
}]