Fix crash in Internal Color Selector in GrayA mode
After calling to sigIndexSelected() the old index value is no longer valid, so we should get all the needed information before that.