check services when mainactivity starts, debug class