Fix main activity