nRF24l01 LED; Momentary Switch State/Brightness

"val=analogRead(BUTTON); //check status of pushbutton"

Is not how you read a digital input.