Go to Cydia and download BossPrefs Airplane Toggle and BossPrefs Autolock Toggle. Also you can download SBSetting and use that along with BossPrefs. SBSettings is faster for turning on and off the normal features like 3G, bluetooth, brightness, edge, airplane mode, SSH, and wifi. It will also let you do a quick reboot or respring and you can boot the phone into safe mode. I would keep BossPrefs though since it has more toggles that SBSettings doesn't have.