MainActivity made parent of ProfileActivity