Refactoring PlayGamescreen.java