I have typed this out before in line by line of instructions, and this does the exact same thing I said with twice as many steps for no reason. I can not for the life of me imagine why you would want to do it this way, but I can type it all out again in the side by side comparison to show it.
this video has 8 different methods for you to peruse
HOW to CHANGE COLORS in CROCHET - 8 Different Ways by Naztazia - YouTube