Fix Layout Editor errors

Layout Editor crashes when the lib tries to access the AccountManager to retrieve accounts saved on the device.