Fixed tab selection bug
Fixed progress bar invalid range bug