Fixed main activity.