Made save preferences easier.