[buteo-syncfw] Stop existing background activity before updating it

BackgroundSync::set updates wakeup frequency for existing
background activity and calls its wait() method. If activity's state
was already Waiting, the state doesn't change, nothing happens and
the existing background activity keeps running until the previously
set time expires.
This patch stops the existing background activity first.