Fix Layout Editor errors

Layout Editor crashes when the lib tries to access the AccountManager to retrieve accounts saved on the device.
Merge pull request #1 from jfsso/patch-1

Fix Layout Editor errors