create a sketch just to make sure your code for RTC to output to the Serial Monitor to make sure it works
create a sketch just to make sure you are able to send/receive from your Bluetooth module to make sure it works
integrate the 2 sketches into your LED sketch
That's how it should be done instead of one giant mess that you expect someone to clean up for you.
.