Update BaseActivity.java

In fact, I realize the entire sliding menu initialization code can be skipped, during configuration change. Not sure is this a correct code.