Cyclic selection of functions or values by pushing a single key