Added logic to make sure apps that are enabled are synced with those being restored

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>