Reconstructed MainActivity.java and PentiBaseFragment.java.