Fix "double sending" of threshold callbacks in simple bricklets