Updated Messages with writing the slider values in a popup that appears once submit is tapped