MainActivity generation (in modified)