"Saving Ride" Fails on Garmin Edge 520

I am using Garmin Edge 520. When using in mapped profile, it is sometimes able to save the ride at the end but in the unmapped profile, Save Ride just spins (doesn't save) and eventually times out without any error or actually saving.

What is the best way to troubleshoot? Any hints as what could be the issue?