The progress bar represents the number of Clone units needed before being able to upgrade. So when the bar is full, the bar will become green, giving you the option to upgrade.