removed the last apply changes in addNewDevice since WR should already apply the sleep mode. Also fix pimation startup script to kill all mjpg_streamer