save and download buttons, correct DB, correct input