Automatically set selection box