Get the Proxy button extension for Firefox and all you have to do is click a toolbar button to turn your proxy settings on or off.

http://proxybutton.mozdev.org/