added more comment

mainactivity.java