I have the following method
// Change fragment extension function to handle navigation easily fun changeFragment(fr