Added code to write to the contacts database.
Added button to run the query that adds a contact to the database.