GUI backup function added

Added the backup function to the program.