Implemented refresh action.