Slave Debounce added

Slave change logic corrected