added buttons to the gui and made save button be heard