Cleanup and force refresh after changing file location

Delete todo file after logout and after changing Dropbox path.
Force a refresh after changing Dropbox path.
Display a warning message before logout or changing Dropbox path if there are local changes that haven't been pushed.
Renamed preference keys that violated our conventions.

Fixes #397
Partially fixes #353 (still need to redirect to login screen whenever not logged on)