Add ave the data with switching to another tab