move setting of number formatter to the init method.

Make the setter of priceFormatter call updateTotalCost. If the user replaces the standard number formatter the total cost will be properly reformatted.