Suggestion: auto-refresh
Self-explinatory: could you implement and auto-refresher? Just keep everything in local storage and refresh so the farmer won't hit newly conquered villages. Put a safety filter so it won't refresh 1 minute before an attack in Commander and I think that's that. I wish you a great weekend and simple solution to all your problems :)