Refactorization of contacts button