Cleanup and limit number of preference saves