calculator frozen; on button isn't helping


I was working on making a colored Mandelbrot set when, after putting my phone in sleep (something I have safely done before) and downloading a Mandelbrot set explorer and messing with it, I came back to find the virtual calculator frozen. I was still getting the spinning yellow circle but the on button wasn't working. The program I was running on it was written by me in basic and don't want to write it again.
Also, I think the speed of colored calculators is emulated a little too accurately.