Crash changing sync directory (with fix)

Appreciate the updates @gomezzz and @devin. Let me forward this to Kurt and will update you guys accordingly!