Add black background and progress bar while loading