Also for your consideration is the app Extended Controls. You can build personalized widgets using it, either single, double, triple or four in a single widget. Using these, you can turn on or off whatever... There are a large number of options.
Example: I have "Torch" (flashlight) and "Screen Brightness" together in one touch-sensitive widget on my home screen. Thus, at night, I can (and do) turn on/off the LED camera light (could op to use the screen) as a flashlight and, when outside in the daylight or inside in a dim lighting, can quickly turn the brightness of the screen up or down.
This is one of the most useful and handy apps I've encountered.
One of the abilities is to turn on/off rotation.