Enable/disable group boxes according to tree view selection