added missing else statement at tx_string concactenation
removed state check in a debounce routie, since it is edge triggered