diff --git a/src/html/js/.entries.js.swp b/src/html/js/.entries.js.swp
new file mode 100644
index 0000000..c96dc5e
Binary files /dev/null and b/src/html/js/.entries.js.swp differ
diff --git a/src/html/js/entries.js b/src/html/js/entries.js
index 8ac27e0..fa6e0df 100644
--- a/src/html/js/entries.js
+++ b/src/html/js/entries.js
@@ -351,6 +351,7 @@ var ListViewModel = function() {
self.newEntry().label(null);
self.newEntry().value(null);
self.newEntry().account_id(self.account().id()); // account_id should not change, but just in case...
+ self.newEntry().category(null);
};
// Function to cancel current editing.
@@ -363,6 +364,7 @@ var ListViewModel = function() {
self.selectedItem().label(self.savedItem.label);
self.selectedItem().value(self.savedItem.value);
self.selectedItem().account_id(self.savedItem.account_id); // account_id should not change, but just in case...
+ self.selectedItem().category(self.savedItem.category);
}
// We are cancelling the new entry, just reset it.