I don't think the method reads bad, it does what it says: switch the config widgets off or on . I had similar enable/disable wrappers there and merged it into a single method, it's just matter of preference and the code is really simple to misunderstand what it does.