Modified AppDelegate to send state/set upon (success of previous state && enter/exit) TODO: Set local state from global state if a mismatch deadlock occurs.