Checked the datahseet for the SPI Flash device series, and altered the SPI configuration accordingly
Defined all the suitable available instructions for the flash device
Restructured the while loop code to activate on either button being pressed and going into the routine we'll use for transfering the bitfile