Hey thx for the quick reply.

It almost works;)! But now one can't rotate past the 0, but gets stuck there.

Is it possible not to impair the rotation but still get the pen number reset?