Simplify boolean toggling in the TASInputDlg.

Also fixed the indentation for some code in a switch statement.
Merge pull request #162 from lioncash/tas-dlg

Simplify boolean toggling in the TASInputDlg.