Bug 1073520 - Optimize render time of panels in settings app

nit: `} else {`