new costing button actions refactored