Moved logic out of RealmAdapter into newly created subclass RealmRecyclerAdapter