Implemented progress bar and background