Save client preferences in XDG_HOME_DIR