DefaultActivity: some comments were added, some optimization was removed as duplicate
DefaultActivity: rotation optimization was fixed