Cleaning up RepeatButton click detection mechanism.