Refactor addContact, update isReady, delete and sortAndViewAs method

1. Refactor addContact method;
2. Update isReady, delete and sortAndViewAs method