4017 is a decade counter, but can be used as i mentioned, i recently made such a selection latch for a school exhibition project for my daughter, it works fine.
if you follow its very simple to understand how it works. the enable input should be kept zero to enable the counting, here its connected to supply voltage via a high resistor, when a particular button is pushed then it makes the enable input to go low making the counter to count, until the particular out put connected to the push button becomes high then the counter enable goes high. this stops the counter on that state.