Added switch for Fragment adding