Renamed 'enabled' switch to 'display' and moved to ProgressBar class