Updated Android version dependency
Added safe allocator for UI thread allocations