Refactor wifi enable/disable code into service helper