Update of layout for activity.