Error and crashes on file "select contact"