I have made some comments in the RDGActivity.java
I added some comment regarding exitbutton in RDGActivity.java