Three way binding firebase