When exiting IdChange, write the id to a ~/id.txt