Added view refreshing