Button count reset

errm i cant find anything helpful in the link and grumpy mike code is varified.