Save to db. Remove datepicker from class.