When I change the freq in the code the program still runs properly without error but the miners continue target the standard rates of 200 MHz and 150 MHz
Well, it sounds like you may have saved the configuration to a .conf file. If so you can find it and delete it and then just run with the command line.
I prefer the command line rather than the .conf file.