Fixed saving preferences (for real)