backup function implemented, backup and settings dialogs implemented