Refactor Cli::Progressbar