FIX layout box quantity when opened with iOS