 void settingsScreen() {
   // TODO, this is a placeholder
   long lastDebounceTime = 0;  // the last time the button was pressed
-  long debounceDelay = 100;
   bool exit_settings_menu = false;
   byte selectedItem;
 

  byte selectedItem = TITLE_PLAY_GAME;
  unsigned short totalDelay = 0;
  long lastDebounceTime = 0;  // the last time the button was pressed
  long debounceDelay = 100;
  arduboy.clear();
  printText("TITLE", 25, 20, 2);
  arduboy.drawRect(2, 47, 26, 13, 1);


  while (!exit_settings_menu) {
    if (arduboy.pressed(DOWN_BUTTON)) {
      if ( (millis() - lastDebounceTime) > DEBOUNCE_DELAY) {
        selectedItem = settingMenuDownButton(selectedItem);
        lastDebounceTime = millis(); //set the current time
      }
    }

    if (arduboy.pressed(UP_BUTTON)) {
      if ( (millis() - lastDebounceTime) > DEBOUNCE_DELAY) {
        selectedItem = settingMenuUpButton(selectedItem);
        lastDebounceTime = millis(); //set the current time
      }
    }

    if (arduboy.pressed(A_BUTTON)) {
      if ( (millis() - lastDebounceTime) > DEBOUNCE_DELAY) {
        switch (selectedItem) {

          case SETTINGS_EXIT:
