Updated main activity to match new xml pages