Some minor bugfixes.

Removed some useless lines of codes and some imports.
Added SyncFinishedDialog. User can now choose which exercises to save(with or without images/description, which languages).

Also removed two preferences that are no longer necesssary.