Just for the record, butter has existed for untold eons before refrigeration existed.
One of the reasons for making and having butter is that it preserves the beneficial milk products without refrigeration