added settings for services: buggy

Added settings to services. The work on settings is still buggy. It
doesn't work always.