Added a BaseActivity to handle the screen orientation