fixed bug of back button and refine app performance