Handle the last item being selected