Removed usage of connection in set selected transaction context in live
model.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>