Added selectedScopeButtonIndex verification