Add logic to clear jobs and transfer ownersip to AppData