Add nextNumericState function to Theme