Update CommonActivity.java