Update mainactivity.java