Changed custom label cycler code to CoreRPG standard

Signed-off-by: Ragnar Reynisson <ragnar.reynisson@gmail.com>