Fixed bug that if there were no cnotacts, application would break when going to viewContacts activity