changed alert style and improved progress bar