android application set up as master/detail with firebase backend