Switch button one step closer to functioning

if there is no lexing error, sync is successful