Added: enable wifi when wifi event preferences exists and no wifi is
enabled