Try dissecting it for information on the specific details on implementation that you need.

Referring to your PSoC 4 main() code, you will need to have a callback function to handle BLE events, CyBleProcessEvents() called consistently in main loop, and a flag that gets set/cleared to indicated the LED setting in the callback handler based on the events. The BLE events are very involved, but if you right-click the BLE component and select "Open Datasheet" or "Open API Documentation", then you will be able to look at what functions do/can be called.