Buttons not responding after going back to home screen.

Hey guys I need some serious help here. I’m dealing with 750+ lines of code and comments across several lua files (not counting a dictionary file) and I’m only going to ask that anyone truly interested in helping send me a message.  Everything needed for the app and then some are in the attached .zip file.

I’m posting this here because I have a feeling my issues are with the scene transitions and the objects they get rid of / may be keeping.

I’m having odd screen transition issues working on my company’s app.  I have a main screen and 2 additional pages currently.  I can transition from the home page to one of the other pages fine (or so it seems at least) and I can (seemingly) go back to the main screen from them as well.  However When I try to go back to that same page, the button for it is no longer functional until I go the the third page and then back home, in which case the third page button is non-functional.  I’m using Composer for the scene transitions.  I suspect I’m not handling the scene destruction and removal correctly but I really don’t know what to do at this point.

Again, please only reply or send me a message if you’re interested in doing more than a slight glance at this.  I’ve added a number of comments into the code that I didn’t already have to try to answer any non-obvious or “what is this section for?” questions.

Thanks for all your help already guys.

Try the attached. I’ve sorted out your scenes so they work as intended with Composer - all objects and sub groups should be added to sceneGroup and then Composer will remove them automatically and you don’t need to worry about making sure you destroy and nil everything. 

Try the attached. I’ve sorted out your scenes so they work as intended with Composer - all objects and sub groups should be added to sceneGroup and then Composer will remove them automatically and you don’t need to worry about making sure you destroy and nil everything.