Update camera detection and action selection so that it works