MODIFIED: a few minior changes

Adjusted the check for if it is a number with regular expression. Also, changed back the layout to a list view if no contacts are in the native database.