Add/edit contacts into database done, both read and write.