Updating progress dialog layout.