I have fragment A and B. In fragment A there is a function button.isVisible = false and there is a button which navigates to fragment B. In fragment B there is a button with