add data to db.
Changed one click to double click for clear SQL-text field