updated to only send presence state changes once.