Create view.java

fixed problem with adding contacts with not all fields filled out.