Fix gson problem
Update preferences