Updated UI of main activity.