Data saving of flaggedlocation, record bug fixed

Next: image related, detail view, migration bugs