Update Contacts.java

fixed, 

NOTE: i forget put

editor.putInt("counter", nextIndex);

before 

editor.commit();
Merge pull request #3 from rnrneverdies/master

Update Contacts.java