added invalidateLast() method, it cancells all callbacks