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)
Merge pull request #1183 from dimagi/app-settings-fix-collapse

fix collapse logic for app settings