Bug fixes

## Information

2 bug fixes for the addon, pretty big ones, not quite sure how I missed these for so long.

Addon will now utilize the sync after library update setting, before it didn't.
Updating tags after a sync was also broken (if the setting was enabled) it will now work correctly.

Thanks to ezechiel1917 for bringing them to my attention and testing the subsequent fix.

## Changes
- Fixed update tags not running after sync, if the setting was enabled.
- Fixed usage of sync after library update, was always syncing.
- Small cleanup of sync, replace redundant calls with a variable and one time call.