Switching the progress to float