ServerActivity.java modify