Updated MainActivity and activity_main.