Changing service to intentservice