Fragments switching issue fixed