Code stop working after adding libraries

pert:
It seems like this is an X-Y problem. The reported issue is that the Arduino IDE is saying 91% of program storage space is used. The real issue is that the program isn't working as expected, which has absolutely nothing to do with the amount of program storage space. So why don't you provide details about what the real problem is?

Firstly, the LED strip does not display the rainbow cycle. Instead the first LED just shows white, with the others turned off.
When I place both of my hands on the foil (forming a close circuit), the BPM will not be printed out as well, even though I waited for 20s.