fix back and forward buttons, this bug prevents use to back in last activity using back button in browser