Rubik cydia tweak turns off 3G when locked or connected to WiFi. Also includes a 3G flipswitch to use with Control Center tweaks.
Please be aware that this tweak can only work if your carrier supports 3G and Edge modes.
Configure options from Settings.
If you are having crashes, please install CrashReporter from Cydia and send me the crash log and syslog.