Method clearBackStack made public