Efficient Visual Appearance Optimization by Learning from Prior Preferences