GameActivity.java modified