Adding save function in CategoryDao.