remove unused gsettings call and unnecessary unref