MainActivity.java for project