Update the gradle build file to facilitate better debugging.
Add custom dialog library and implement it.