CHANFGED:applied the Notify function after CategoryItemAdd and relevant code reorganziation