Sending an int using Serial.write() is not a good idea. How many bytes does it actually send?
if(mySerial.available()==7){ //check if 7 bytes are available
What happens if there are ever more than 7 bytes? You will never read another thing.
You are doing a lot of printing at a really slow speed. Why is the Serial baud rate so low?