Clearing serial buffer solved

I too am having an issue where I need to clear the receive buffer, or find a similar solution. The received command remains in the buffer and the program continuously runs, where I only want it to run once.

Has anyone got any helpful advice? And I do mean helpful, not belittling, demeaning or otherwise just some a$$ trying to prove they're better than we inexperienced newcomers to Arduino.