Update Activity.java