- Moved motion detection setting to happen prior to return to prevent motion detect sticking upon api failure