 			}
 			break;
 		case 7:
-			if (enterMenu) {
-				mp3.playTrackFromDir(8, 1);
-#ifdef LS_INFO
-				Serial.print(F("CLASH2\nCur:"));
-				Serial.print(storage.clashBrakeTreshold);
-#endif
-				enterMenu = false;
-				delay(500);
-			}
-			lastValue = storage.clashBrakeTreshold;
-			value = storage.clashBrakeTreshold + 250 * modification;
-			modification = 0;
-			if (value < 1000) {
-				value = 5000;
-			} else if (value > 5000) {
-				value = 1000;
-			} else if (value == 1000 and play) {
-				mp3.playTrackFromDir(15, 1/*, false*/);
-				play = false;
-			} else if (value == 5000 and play) {
-				mp3.playTrackFromDir(14, 1/*, false*/);
-				play = false;
-			}
+			confMenuStart(8);
+
+			confParseValue(storage.clashBrakeTreshold, 1000, 5000, 250);
+
 			if (value != lastValue) {
 				storage.clashBrakeTreshold = value;
 #ifdef LS_INFO

 * LED String variables
 */
#ifdef LEDSTRINGS
int ledPins[] = {LEDSTRING1, LEDSTRING2, LEDSTRING3, LEDSTRING4, LEDSTRING5,
	LEDSTRING6};
#endif
#ifdef LUXEON
int ledPins[] = { LED_RED, LED_GREEN, LED_BLUE /*,LED_WHITE*/};

// byte color => {R,G,B,ColorNumber}
byte currentColor[3];

#endif

// ================================================================
// ===           	  	 CONFIG MODE FUNCTIONS	                ===
// ================================================================

void confParseValue(int variable, int min, int max, int multiplier) {
	lastValue = variable;
	value = variable + multiplier * modification;
	modification = 0;
	if (value < min) {
		value = max;
	} else if (value > max) {
		value = min;
	} else if (value == min and play) {
		play = false;
		mp3.playTrackFromDir(15, 1/*, false*/);
		delay(50);
	} else if (value == max and play) {
		play = false;
		mp3.playTrackFromDir(14, 1/*, false*/);
		delay(50);
	}
}

void confMenuStart(int sound) {
	if (enterMenu) {
		mp3.playTrackFromDir(sound, 1);
#ifdef LS_INFO
		switch (sound) {
		case 4:
			Serial.print(F("VOLUME\nCur:"));
			Serial.println(storage.volume);
			break;
		case 5:
			Serial.println(F("SOUNDFONT\nCur:"));
			Serial.println(soundFont.getFolder());
			break;
		case 6:
			Serial.print(F("SWING\nCur:"));
			Serial.println(storage.swingTreshold);
			break;
#ifdef LUXEON
			case 9:
			Serial.print(F("COLOR1\nCur:"));
			Serial.println(storage.mainColor[3]);
			break;
			case 10:
			Serial.print(F("COLOR2\nCur:"));
			Serial.println(storage.clashColor[3]);
			break;
			case 11:
			Serial.println(F("SAVE TO SOUNDFONT?\nMain :Yes/Lockup: No"));
			break;
#endif
		case 7:
			Serial.print(F("CLASH1\nCur:"));
			Serial.println(storage.clashAccelTreshold);
			break;
		case 8:
			Serial.print(F("CLASH2\nCur:"));
			Serial.println(storage.clashBrakeTreshold);
			break;
		}
#endif
		enterMenu = false;
		delay(500);
	}
}

// ================================================================
// ===           	  EEPROM MANIPULATION FUNCTIONS	            ===
// ================================================================

