Implement stateChanged variable if BOUNCE_LOCK-OUT