public static void saveDatabaseInformation()//called when program closes
	{
		SellerEncryption.encryptDatabase(database);
		if (!waitingData.isEmpty())
		{
			SellerEncryption.encryptWaitingOrders(waitingData);
		}else{
			BufferedWriter bw;
			try {
				bw = new BufferedWriter(new FileWriter("WaitingTransactionsDatabase.txt"));
				bw.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		SellerBackEnd.saveConfirmationNumbers();
	}