Feature/1060 refactor getcontactssettings

Test for #1058.

# Warning
# Info
# Issues
Fix for #1060.