How can I change a varible through my menu structure

CTRL+T in the IDE would suffice.

I spotted this: the noButtonPressed() function returns a value:

int noButtonPressed()
{
    return MW_BTNULL;
}

But when you call it, you just throw it away:

    if(buttonValue >= 1000)
    {
        buttonPressed = 0;
        noButtonPressed();                   // is calling an extra fucntion
    }

Also as a matter of coding style, I suggest you never omit { and } when writing an if() statement, even if there is only one statement inside that block. It helps code readability and maintainability (i.e. fewer "accidental" bugs).