Complete some code on "refreshing list"