modified progress bar and added predefined value to portion size