Commit before switching timer0 and 1