Solved app crashing with rotating screen Orientation