1) fixed hang on splash screen
2) fixed home button after screen rotation