Changed mainactivity file to accommodate menu tabs