It couldn't get much more simpler than this little script/command. Anyhow, there's a few apps that would screw up my resolution after they exited and rather than look into it at the moment, I just googled to see if there was a quick command to execute that would change the resolution. So I found it, added that command to my KDE menu, then made a shortcut to it (ctrl + r) so I have a push-button resolution fix, which I recommend you do as it's quite handy.
Anyhow, place Native Resolution Switcher.desktop on your desktop for 1-click resolution switching or as I recommend earlier, just using the "xrandr -s 'your resolution'" command in the KDE menu and linking it to a shortcut key. You can also use the "-r" command to set the refresh rate. If no rate is specified, it will default to the lowest rate set in your xorg.conf.
The xrandr command is dependent on your xorg.conf file so if the resolution or refresh rate isn't set in your xorg.conf, then it will not use it.