Fix long press file crash