Trouble with wireless relay control project

I have run the example code for the nordic fob and have it working, it reads to serial which button i hit (up, down, L, R)

It reads to serial? Generally, people read FROM or PRINT to the Serial Monitor.

here is the example code that runs

Comments don't need // on the end.

White space and proper indentation are needed.

One code statement per line.

That code is nearly impossible to read.

And, to top it off, it isn't the code you are having problems with. So, why did you post it?

I was wondering what advice you might have to fix my problem

Ok. Start by making the code readable.

Then, understand what the code is doing.

Then, make it do what you want (setting flags, etc.) at the appropriate time.

Then, after all the stuff with the radio traffic being dealt with, add some code to toggle, or not, the pins based on the flags.