It took me a minute to figure this out. I had to change my foreground color to the yellow and then click underneath the gradient to make a new stop, then close it out and change my color to the blue and go back and make a new stop underneath the gradient. I did save it as a new preset so I will have it to use in the future.
Here is the photo I tried it on.