Update BaseActivity.java

Code reverting. False conclusion in previous commit caused by unclean build.