Hello! Greetings!
I want to mention that in order to fix the whole crashing issue, the review of code is necessary. After that, the scope of the work can be defined.
Code review can or cannot be a time consuming process based on your Application, I would need details of that.
So if it make sense , Lets Connect
Warm Regards,
Nitesh Jain