The pin assignments of the pmod_led demo does not match the Tang Primer 25K. E.g. the "key" in this example is assigned to K6. But the keys on Tang Primer 25K base board are on H10 and H11. K6 is USB_N
Furthermore the button S1 on H11 is active high and does not have a pull-down. The pull-down in the FPGA thus needs to be enabled and the polarity reversed.