Add a component to select levels. Fix #30