Add lemon juice to apples in a medium bowl and combine. Transfer to a medium pot, add butter, water, cinnamon, vanilla extract, and a pinch of fine salt, and heat over medium heat, stirring occasionally. When the apples release liquid, reduce the heat to medium-low and simmer, stirring occasionally, until the apples have softened. Taste and adjust the spices as needed. Set aside to cool.