If you turn off WiFi, nothing should turn it on automatically for you. Just to to Settings, WiFi and move the slider to Off. Is that what you are doing? Or what settings are you talking about? If you are just turning off things in the Advanced section, none of those actually turn off the WiFi, those are all for things like notifications and connecting to hotspots, not turning WiFi off.