Fix #663 Selecting a desktop record region does not always work
Fix #650: Resetting configuration raises error when file do not exist