Change Logic in Two Input States