A very good advice and it's not very expanded in the community.

Don’t interfere with the spinner in the status bar. Because the way you turn it on and off is simply a boolean, most developers have their own increment and decrement methods to determine whether it should be on or off. Having another piece of code setting this means that an app’s spinner may do some weird stuff.

So keep it in mind ;)