Perform initial search only for the first time the view is displayed