You can use a paper fastener to hold your shirt closed until you can get the button sewn back on.