Moved the setWishButtonEnabled call to the gui trhad