title: Updating FirestoreRecyclerAdapter using updateOptions() give Type mismatch error
body: <p>I'm using Firebase UI to populate my RecyclerView, it all works fine except when I try to change the order of list elements when a button is clicked.</p>
  <p>Here is my adapter code:</p>
  <pre><code>private var query: Query = FirebaseFirestore.getInstance()
      .collection(&quot;restaurant&quot;)
      .orderBy(&quot;review&quot;, Query.Direction.DESCENDING)
  
  var options: FirestoreRecyclerOptions&lt;Restaurant&gt; = FirestoreRecyclerOptions.Builder&lt;Restaurant&gt;()
      .setQuery(query, Restaurant::class.java)
      .build()
  
  private var adapter: FirestoreRecyclerAdapter&lt;*, *&gt; =
      object : FirestoreRecyclerAdapter&lt;Restaurant, RestaurantListAdapter.ViewHolder?&gt;(options) {
          override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RestaurantListAdapter.ViewHolder {
              val view = LayoutInflater.from(parent.context)
                  .inflate(R.layout.restaurant_card_view_design, parent, false)
              return RestaurantListAdapter.ViewHolder(view)
          }
  
          @SuppressLint(&quot;ResourceAsColor&quot;)
          override fun onBindViewHolder(
              holder: RestaurantListAdapter.ViewHolder , position: Int, model: Restaurant
          ) {
              val sharedPref = getPreferences(Context.MODE_PRIVATE) ?: return
              val defaultValue = resources.getString(R.string.def_loc_key)
              val lat = sharedPref.getFloat(getString(R.string.latitude_key), defaultValue.toFloat())
              val long = sharedPref.getFloat(getString(R.string.longitude_key), defaultValue.toFloat())
  
              model.calculateDistance(lat, long)
  
              // sets the text to the textview from our itemHolder class
              holder.distance.text = String.format(&quot;%.1f mi&quot;, model.distance)
              holder.name.text = model.name
              holder.reviewNum.text = String.format(&quot;(%1d)&quot;, model.numReview)
              holder.review.rating = model.review
              if (position == 0) {
                  //holder.card.setCardBackgroundColor(R.color.recommendedCard)
                  holder.card.setCardBackgroundColor(ContextCompat.getColor(holder.card.context, R.color.recommendedCard))
              }
              holder.logo.setImageResource(
                  resources.getIdentifier(model.logo , &quot;drawable&quot;,
                  packageName
              ))
          }
      }
  </code></pre>
  <p>And here is my code for on button click (inside onCreate()):</p>
  <pre><code>val sortButton = findViewById&lt;ImageButton&gt;(R.id.sortButton)
  sortButton.setOnClickListener {
      query = query.orderBy(&quot;numReviews&quot;, Query.Direction.DESCENDING) // new campo
  
      options = FirestoreRecyclerOptions.Builder&lt;Restaurant&gt;()
          .setQuery(query, Restaurant::class.java).build()
  
      adapter.updateOptions(options)
  }
  </code></pre>
  <p>I get an error on the last line saying :</p>
  <blockquote>
  <p>Type mismatch: inferred type is FirestoreRecyclerOptions but Nothing was expected</p>
  </blockquote>