Add option to select if the device should be turned on or off when connected to power.