The visual modifications are taking place during onResume() method so
that the progress bar appearance is correctly updated.