Softened butter is essential for your cookie batter, not melted butter. If you use melted butter then the cookies are going to spread flat while baking instead of keeping their shape.