Make setting selected service more atomic.