edited Main Activity