Getting avrdude: stk500_recv(): programmer is not responding error uploading

Hey, I'm trying to construct a circuit that will receive data from an MIT App Inventor app using bluetooth. It's then supposed to read the data in the serial monitor and compare it to data in an array of frequencies and play the corresponding note on a buzzer. Here is the code

int buzzerPin = 9;char notes[] = {'c', 'b', 'a', 'e', 'f', 'g', 'd'};
int frequencies[] = {261.6, 439.9, 440, 329.6, 349.2, 392, 293.7};
int incomingFrequency = 0;
//if the incoming frequency is a note, then play the note as a tone
boolean arrayIncludeElement(int freqeuncies[], int incomingFrequency);
int Max = 7;
void setup ()
{
  pinMode(buzzerPin, OUTPUT);
  digitalWrite(buzzerPin, LOW);
  Serial.begin(115200);
}

void loop() {
  if (Serial.available()>0)
  {
    incomingFrequency = Serial.read();
  }
  {
    for (int i = 0; i < Max; i++) {
      if (frequencies[i] == incomingFrequency) {
        digitalWrite(buzzerPin, HIGH);
        tone(buzzerPin, frequencies[i], 100);
        delay(100);
      }
      else {
        tone(buzzerPin, 500, 100);
      }

    }
  }
}

I'm relatively new to programming with Bluetooth so any suggestions and edits to the code are welcome. I have checked and both the serial port is correct when uploading and the board is set to Arduino Uno. I have also attached an image of my circuit, thanks in advance for any help!