Changed mainLayout and myActivity