public void setButtonActions(){
//Get buttons from the Menu_Layouts class and set them in the appropriate array        
        mainPageChoices = menuLayouts.getButtons(INDEX_THREE);
        mechanicsChoices = menuLayouts.getButtons(INDEX_ZERO);
        wavesChoices = menuLayouts.getButtons(INDEX_ONE);
        electricityChoices = menuLayouts.getButtons(INDEX_TWO);
        
//Set the Event Handler for each button in the main page
        for(int i=0; i<mainPageChoices.length; i++){
            mainPageChoices[i].setOnAction(mainPageButtonAction);
        }

//Set the Event Handler for each button in the menu pages
        for(int i=0; i<4; i++){
            //Buttons that display an animation page
            if(i<2){
                mechanicsChoices[i].setOnAction(animationPageAction);
                wavesChoices[i].setOnAction(animationPageAction);
                electricityChoices[i].setOnAction(animationPageAction);
            //Buttons that returns to the main page or display "Under Construction"
            }else{
                mechanicsChoices[i].setOnAction(staticAction);
                wavesChoices[i].setOnAction(staticAction);
                electricityChoices[i].setOnAction(staticAction);                
            }
        }
    }