private void Insert_data_in_database(object sender, RoutedEventArgs e)
 {
     if (this.Verify_registry())
     {
         this.success = true;
         DatabaseHandler.Add_registry(GlobalVariables.temporary_file_path, this.Date, this.Category, this.Type_, this.Amount, this.Description, this.Currency);
         this.Close();
     }
 }