fix collapse logic for app settings

will now stay open when there's an error in a section
(this was the original intended behavior anyway)