webgui: store opened monitor type in localStorage
afserver: fixed enable/disable service (was broken in last versions while switching to json)