Bug fixes
1. Rendering the inventory table view is executed in the main thread.
2. Unit and Category can be added in editing mode.