Separate TabAdapter from MainActivity