Updated Contacts application with tabs related logic