Refactored main activity to use a TabHost