Move beginTransaction
Merge pull request #1 from mattab/patch-1

Move beginTransaction