Why does "price" revert to blank when the "next" button is clicked?