update buttons when returning from export