refactor NewContactWidget with QSqlRecord