Implemented two-way binding