Edited Main Activity