resetInterface when refreshing