Fixed formatting of main activity.