OPAL-2252 - used switch case to determine the selected tab, removed redundant response code from response callback handler
Merge pull request #460 from kazoompa/bug-OPAL-2252

OPAL-2252 - used switch case to determine the selected tab.