Improved the progress_is_active code to not overwrite the progress