My iPhone won't stop respringing after I turn it off?

I recently jailbroke my Iphone 4 with redsn0w. Every time i turn my phone off then back on again it shows an all black screen with a loading wheel. After about 5 seconds of this it goes back to normal, then 5 seconds later it goes back to the wheel and repeats. I can fix the problem by rebooting with redsn0w, but every time I turn it off it goes back into the wheel routine.

Press the main button and the off switch at the same time!