I am encountering an error in other parts of my application whenever I click on this specific area in my app. A solution I found that made the application run normally again was to just kill the app (something along the lines of double tapping the home button and then swiping the app off screen), then starting the application up again. Evidently, this is a short term solution to the problem, but I'm hoping to have a solution in the meantime while I work on finding where the problem lies.
So my question: Is there a way to "restart" the application that has a similar effect of closing the app and opening up again, or somethings that's similar to the "relaunch" function in the Corona Simulator? I've seen os.exit(), which kills the app, but it's not a restart and only does half the job. I've also been looking at scene:destroy() then goto another scene, but I'm not sure if that would have the same effect as what I'm looking for.