 }
 
 void settingsScreen() {
-
   long lastDebounceTime = millis();  // the last time the button was pressed
   bool exit_settings_menu = false;
   byte selectedItem;

void loop() {
  byte result;

  // TODO alternate between titleScreen and highScoreScreen on a timer
  // until user pressed a button
  result = titleScreen();

  switch (result) {

  printText("3.  000000  AAA", 15, 45, 1);
  printText("4.  000000  AAA", 15, 57, 1);
  arduboy.display();

  while (totalDelay < 4000) {
    delay(15);
    totalDelay += 15;

    if (arduboy.pressed(UP_BUTTON) || arduboy.pressed(DOWN_BUTTON) || arduboy.pressed(LEFT_BUTTON) || arduboy.pressed(RIGHT_BUTTON) || arduboy.pressed(A_BUTTON)  || arduboy.pressed(B_BUTTON)) {
      if ((millis() - lastDebounceTime) > DEBOUNCE_DELAY) {
        totalDelay = 4000;
        lastDebounceTime = millis();
      }
    }  
  }  
}

void creditsScreen() {
