Split applying webdav settings into separate method