Connect MainActivity