added reset-function for developing purposes

second try with only the changes for resetting a sync