Updated button refreshing for when certain buttons are closed.