Adding checks to Backup/Restore and Widget