listening to select button press