Added code to carry out the refresh operation in a Content View