make a separate method instead of having the adapter be an onclick listener