1) Fixing issue that entity aren't persisted; 2) further optimize performance;
3) Fixing the JavaScript that wrong locale is deleted by the delete buttons