changed switches not get recreated when switching api or camera