Implemented delete categories in realtime