I think now we have the solution I was looking for. I was not too keen on adopting the custom class extending `Application` myself and that's the reason I asked you to review the code.

I still have a small doubt. See the comment I put on `AbstractFragmentDialog`