Minor fixes to QAT customize dialog

Removed unneeded code, and fix duplication issue, among other minor
changes.