Update AppActivity.java

Part of solving issue #1