Added clearBackStack method