   #ifdef OPRLIGHTTIME
     unsigned long lightStartUpTime = 0; // millis() the operations light started
   #endif
-  const byte infoLedPin    = 5;       // the pin to which the operation led is connected to
-  boolean lightOn          = true;    // if true, the operations light fader is active. is set to false via a button, or after a maxLightTime (see below) is reached
-#endif
-const byte warnLedPin    = 8;       // the pin to which the warning led is connected to
-const byte errorLedPin   = 9;       // the pin to which the error led is connected to
+  const byte infoLedPin     = 5;       // the pin to which the operation led is connected to
+  boolean lightOn           = true;    // if true, the operations light fader is active. is set to false via a button, or after a maxLightTime (see below) is reached
+#endif
+const byte warnLedPin       = 8;       // the pin to which the warning led is connected to
+const byte errorLedPin      = 9;       // the pin to which the error led is connected to
 
 
 


// volume control variables for the analog poti
#ifdef VOLUMEPOT
  const byte volPotPin     = A0;      // the analog input pin that we use for the potentiometer
  word lastVolSensorValue  = 0;       // keeps the last read sensor value
#endif

// control buttons definition
#ifdef BUTTONS
  const byte btnLinePin    = A1;      // pin on which the button line (4 buttons) is connected
  
  word btnVal;                        // stores the value we receive on the btnLinePin for comparance with the predefined analog reads for the 4 buttons
  const byte btnValDrift   = 5;       // maximum allowed difference + and - the predefined value for each button we allow
  const word btnPressDelay = 500;     // delay in milliseconds to prevent double press detection
  unsigned long btnPressTime = 0;     // time in millis() when the button was pressed
  const word btnLightValue = 1021;    // 33 Ohm  - The value we receive from analog input if the Light On/Off Button is pressed
  const word btnPauseValue = 933;     // 1K Ohm  - The value we receive from analog input if the Pause Button is pressed
  const word btnNextValue  = 1002;    // 220 Ohm - The value we receive from analog input if the Next (aka Fast Forward) Button is pressed
  const word btnPrevValue  = 991;     // 330 Ohm - The value we receive from analog input if the Previos (aka Prev or Rewind) Button is pressed
  const word minBtnValue   = 800;     // we use this value to determine, whether or not to check the buttons. Set to lower val than smallest of buttons
#endif

// IR remote control 
#ifdef IRREMOTE
  const byte iRRemotePin   = A4;      // the pin the IR remote control diode (receiver) is connected to
  
  // IR Remote control
  // to reduce PROGMEM size I decided to not use the whole decimal value for each button on the remote control but instead do a calculation 

        //Serial.print(F("set ")); Serial.print(firstTrackToPlay); Serial.println(F(" as first track to play"));
      #endif
      #ifdef NFCTRACKDB
        // first create the new trackDb entry:
        setTrackDbEntry();
        // second store this entry in the TrackDb files
        if (!writeTrackDbEntry()) {
          issueWarning("trackdb update error", "", false);
        }
