mdns on resume fix

Please review @g-ortuno 
The purpose of onCreate is to "one-time setup procedures" so the function doesn't really belong there. It should go in onStartCommand() where I think there is no need to make the function.