Update and rename MainActivity.java to BaseActivity.java