remove unnecessary code from StackSelectorView