Removed checkbox "enable/disable CGMiner api", now api is always enabled, and changed "CGMiner Remote Management Enabled" to write cgminer.conf file that cgminer likes.