Changed position of selectItems in code