Combine the cranberries, salt, sugar, flour and refrigerate the mixture one or more hours. Add the butter when you add the cranberry mixture into the pie crust. Make a lattice pie crust for the top of the pie. Brush the pie crust lattice top with an egg for glaze.