Switching an Output to opposite to last status