Have a look at the readButton() function in Several Things at a Time
It should not be difficult to adapt that to call another function, or to set a variable so that another function will always be called if that variable has a certain value. For example your code in loop() could be something like this
void loop() {
readButton();
if (loopChosen == 1) {
loop1();
}
else if (loopChosen == 2) {
loop2();
}
}
and put code in your readButton() function that sets the value of loopChosen appropriately
...R