Fix: default state bug
Backup/Restore function implemented